<?php

namespace common\assets;

use yii\web\AssetBundle;

/**
 * Class AdminLteAsset
 * @package common\assets
 * @author jianyan74 <751393839@qq.com>
 */
class AdminLteAsset extends AssetBundle
{
    public $sourcePath = '@vendor/almasaeed2010/adminlte';

    public $css = [
        'dist/css/adminlte.min.css',
        'plugins/toastr/toastr.min.css',
        'plugins/overlayScrollbars/css/OverlayScrollbars.min.css',
    ];

    public $js = [
        'dist/js/adminlte.min.js',
        'plugins/overlayScrollbars/js/jquery.overlayScrollbars.min.js',
        ['plugins/toastr/toastr.min.js', 'position' => \yii\web\View::POS_HEAD],
    ];

    public $depends = [
        BrowerPluginAsset::class
    ];
}
